<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SSDP Help: D:/doxy/PublicAPI/ATDataCore/ATTxtBlockIter.h 源文件</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SSDP Help<span id="projectnumber">&#160;2.04.01</span>
   </div>
   <div id="projectbrief">仅供测试</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.3 -->
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',false,false,'search.php','搜索');
});
/* @license-end */
</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_52a01df1794e5beec01860bdd05aea48.html">PublicAPI</a></li><li class="navelem"><a class="el" href="../../dir_4327875b5af0f0d2cd35b102dcf8c063.html">ATDataCore</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle"><div class="title">ATTxtBlockIter.h</div></div>
</div><!--header-->
<div class="contents">
<a href="../../dd/dd1/_a_t_txt_block_iter_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span> </div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span> </div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span>BEGIN_ATEC_ATDATACORE_NAMESPACE</div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span> </div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span><span class="keyword">struct </span>ParagraphIterator : std::iterator&lt;std::forward_iterator_tag, Paragraph const&gt;</div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span>{</div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span><span class="keyword">private</span>: <span class="keyword">friend</span> <span class="keyword">struct </span><a class="code hl_struct" href="../../d0/ddb/struct_a_t_caret.html">ATCaret</a>;</div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span> </div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span><span class="keyword">private</span>:    TextBlockCR m_textBlock;</div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span><span class="keyword">private</span>:    <span class="keywordtype">size_t</span>      m_paragraphIndex;</div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span> </div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span><span class="keyword">private</span>:                                            ParagraphIterator(TextBlockCR, <span class="keywordtype">size_t</span> paragraphIndex);</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span>};</div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span> </div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"><a class="line" href="../../dc/d6d/struct_paragraph_range.html">   28</a></span><span class="keyword">struct </span><a class="code hl_struct" href="../../dc/d6d/struct_paragraph_range.html">ParagraphRange</a> : <span class="keyword">public</span> NonCopyableClass</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span>{</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span><span class="keyword">public</span>: <span class="keyword">typedef</span> ParagraphIterator   const_iterator;</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span><span class="keyword">public</span>: <span class="keyword">typedef</span> const_iterator      iterator;</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span> </div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span><span class="keyword">private</span>:    ATCaretPtr    m_begin;</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span><span class="keyword">private</span>:    ATCaretPtr    m_end;</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span> </div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span><span class="keyword">public</span>: </div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"><a class="line" href="../../dc/d6d/struct_paragraph_range.html#a488f1bd6e78b2c9681d4492dab574deb">   46</a></span>    ATDATACORE_EXPORT <span class="keyword">explicit</span> <a class="code hl_function" href="../../dc/d6d/struct_paragraph_range.html#a488f1bd6e78b2c9681d4492dab574deb">ParagraphRange</a>(TextBlockCR);</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span> </div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span><span class="keyword">public</span>: </div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"><a class="line" href="../../dc/d6d/struct_paragraph_range.html#a5ee85540d808e1dd43951ce4c38d5a55">   59</a></span>    ATDATACORE_EXPORT <a class="code hl_function" href="../../dc/d6d/struct_paragraph_range.html#a5ee85540d808e1dd43951ce4c38d5a55">ParagraphRange</a>(ATCaretCR begin, ATCaretCR end);</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno">   60</span>};</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span> </div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno">   62</span>END_ATEC_ATDATACORE_NAMESPACE</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span> </div>
<div class="ttc" id="astruct_a_t_caret_html"><div class="ttname"><a href="../../d0/ddb/struct_a_t_caret.html">ATCaret</a></div><div class="ttdoc">字符对象</div><div class="ttdef"><b>Definition:</b> TextIter.h:28</div></div>
<div class="ttc" id="astruct_paragraph_range_html"><div class="ttname"><a href="../../dc/d6d/struct_paragraph_range.html">ParagraphRange</a></div><div class="ttdoc">段落范围</div><div class="ttdef"><b>Definition:</b> ATTxtBlockIter.h:29</div></div>
<div class="ttc" id="astruct_paragraph_range_html_a488f1bd6e78b2c9681d4492dab574deb"><div class="ttname"><a href="../../dc/d6d/struct_paragraph_range.html#a488f1bd6e78b2c9681d4492dab574deb">ParagraphRange::ParagraphRange</a></div><div class="ttdeci">ATDATACORE_EXPORT ParagraphRange(TextBlockCR)</div><div class="ttdoc">创建给定的文本块中所有段落的段落范围对象</div></div>
<div class="ttc" id="astruct_paragraph_range_html_a5ee85540d808e1dd43951ce4c38d5a55"><div class="ttname"><a href="../../dc/d6d/struct_paragraph_range.html#a5ee85540d808e1dd43951ce4c38d5a55">ParagraphRange::ParagraphRange</a></div><div class="ttdeci">ATDATACORE_EXPORT ParagraphRange(ATCaretCR begin, ATCaretCR end)</div><div class="ttdoc">创建两个符号之间的段落范围对象，包含两符号</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
</small></address>
</body>
</html>
